# coding: utf-8

class Cat():
	pol = "man"
	health = 20

	def say(self):
		print "Myaau"

	def __init__(self, setName, cvetKota):
		self.name = setName
		self.color = cvetKota

	def __str__(self):
		return "<{name}, он {colorCat}>".format(name = self.name, colorCat = self.color)

	def __add__(self, afterPlus):
		K = Kitty("Котёнок", afterPlus.color)
		K.health = self.health + afterPlus.health
		return K


class PussyCat(Cat):
	pol = "woman"
	health = 30

	def say(self):
		print "Muuurrrrr..."
	def __str__(self):
		return "<{name}, она {colorCat}>".format(name = self.name, colorCat = self.color)


class Kitty(Cat):
	def say(self):
		print "miiiiiii-iii"	

Mosha = Cat("Моша", "Бело-Рыжий")
Pusya = PussyCat("Пуся", "Рябенькая")


kotenok = Mosha + Pusya

print Mosha
print Pusya
print kotenok

print kotenok.health